﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace DataModels.Models.IQWebsite
{
    public class TripReport
    {
        [Key]
        public int Id { get; set; }

        [Required]
        [StringLength(250)]
        public string Filename { get; set; }

        [StringLength(1000)]
        public string Comments { get; set; }

        public int SpecialActivityId { get; set; }

        [Required]
        [StringLength(500)]
        public string FileLocation { get; set; }

        public int CreatedByUserId { get; set; }

        [ForeignKey("SpecialActivityId")]
        public Activity SpecialActivity { get; set; }

        [ForeignKey("CreatedByUserId")]
        public User CreatedByUser { get; set; }
    }
}
